//
//  SettingButton.m
//  网络FM
//
//  Created by dlios on 15/5/28.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "SettingButton.h"

@implementation SettingButton


- (void)dealloc
{
    [_ima release];
    [_title release];
    [super dealloc];
}


- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self createMyButton];
    }
    return self;
}

- (void)createMyButton
{
     self.ima = [[UIImageView alloc]initWithFrame:CGRectMake(10, 0, 35, 35)];
   
    [self addSubview:self.ima];
    
    
    self.title = [[UILabel alloc]initWithFrame:CGRectMake(0, 35, 60, 30)];
    [self addSubview:self.title];
    
}

@end
